<template>
  <section class="border-2">
    <section class="top">{{ title }}</section>
    <section class="bottom"><slot></slot></section>
  </section>
</template>
<script setup lang="ts">
defineProps<{
  title: string
}>()
</script>
<style scoped>
.border-2 {
  height: 100%;
  text-align: center;
  color: white;
  font-family: 'Roboto';
  font-size: 14px;
}

.top {
  background: linear-gradient(180deg, rgba(19, 148, 177, 1) 0%, rgba(19, 148, 148, 0.22) 100%);
  border-radius: 5px 5px 0 0;
  height: 15%;
  padding-top: 8px;
}

.bottom {
  height: 85%;
  border: 1px solid rgba(19, 148, 148, 0.22);
  border-radius: 0 0 5px 5px;
}
</style>
